WooCommerce\Square\Gateway\API S

Total Complexity 48
Dependencies 30
Dependents 1
Total lines 651
Lines of code 201
Logical lines of code 125
Comment lines 276
Methods 31
Properties 2

Methods 31

Method Rating Maintainability Complexity Lines of code
tokenize_payment_method()
S
57 4 17
credit_card_capture()
S
61 4 11
refund()
S
61 4 11
void()
S
61 4 11
adjust_order()
S
58 3 14
create_order()
S
62 2 10
do_post_parse_response_validation()
S
71 2 6
get_transaction()
S
64 2 9
get_payment()
S
69 1 6
retrieve_gift_card()
S
69 1 6
supports_get_tokenized_payment_methods()
S
82 1 3
__construct()
S
75 1 4
supports_update_tokenized_payment_method()
S
82 1 3
supports_remove_tokenized_payment_method()
S
82 1 3
get_order()
S
82 1 3
get_api_id()
S
81 1 3
check_debit()
S
98 1 1
get_location_id()
S
82 1 3
update_order()
S
67 1 7
pay_order()
S
68 1 6
update_payment()
S
67 1 7
credit_card_authorization()
S
69 1 6
calculate_order()
S
67 1 7
retrieve_order()
S
67 1 7
remove_tokenized_payment_method()
S
70 1 6
get_tokenized_payment_methods()
S
69 1 6
create_customer()
S
69 1 6
create_customer_card()
S
69 1 6
gift_card_charge()
S
69 1 6
credit_card_charge()
S
69 1 6
update_tokenized_payment_method()
S
98 1 1